Haiku: doesn't have SIG_SYS
authorJessica Hamilton <jessica.l.hamilton@gmail.com>
Tue, 25 Apr 2017 16:49:09 +0000 (16:49 +0000)
committerJessica Hamilton <jessica.l.hamilton@gmail.com>
Tue, 25 Apr 2017 16:50:44 +0000 (16:50 +0000)
src/cargo/util/errors.rs

index 94f422f8d85ceac91208d623325e418015188e17..3b1d35b6eee170189531d817072e3b93ca4f5f2d 100644 (file)
@@ -459,6 +459,7 @@ pub fn process_error(msg: &str,
                 libc::SIGSEGV => ", SIGSEGV: invalid memory reference",
                 libc::SIGTERM => ", SIGTERM: termination signal",
                 libc::SIGBUS => ", SIGBUS: access to undefined memory",
+                #[cfg(not(target_os = "haiku"))]
                 libc::SIGSYS => ", SIGSYS: bad system call",
                 libc::SIGTRAP => ", SIGTRAP: trace/breakpoint trap",
                 _ => "",